{{ if gt (len (where site.RegularPages "Type" "posts")) 0 }}
<li>
  <a class="inline-flex items-center p-2 cursor-pointer" href="{{ "posts" | relLangURL }}" title="{{ T "archives" }}">
    <ion-icon name="archive"></ion-icon>
    {{ T "archives" }}
  </a>
</li>
{{ end }}

{{ if site.Taxonomies.categories }}
<li>
  <a class="inline-flex items-center p-2 cursor-pointer" href="{{ "categories" | relLangURL }}" title="{{ T "allCategories" }}">
    <ion-icon name="grid"></ion-icon>
    {{ T "allCategories" }}
  </a>
</li>
{{ end }}

{{ if site.Taxonomies.tags }}
<li>
  <a class="inline-flex items-center p-2 cursor-pointer" href="{{ "tags" | relLangURL }}" title="{{ T "allTags" }}">
    <ion-icon name="pricetags"></ion-icon>
    {{ T "allTags" }}
  </a>
</li>
{{ end }}
